﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;


namespace WxBean.Core.Model.Models
{
    ///<summary>
    ///
    ///</summary>
    [SugarTable("Category", "WMBLOG_MYSQL")]
    public class Category
    {
        public Category()
        {
        }
        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:False
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public long id { get; set; }
        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:False
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>
        public int? parent_id { get; set; }
        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>
        public string level { get; set; }
        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>
        public int? sort { get; set; }
        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:False
        /// </summary>
        public DateTime create_time { get; set; }
        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:False
        /// </summary>
        public DateTime update_time { get; set; }

        /// <summary>
        /// 物理删除
        /// </summary>
        public bool is_deleted { get; set; }
    }
}